package com.yunhe.tianhe.rentcars.dao.cheliangguanli;



import com.yunhe.tianhe.rentcars.entity.cheliangguanli.XinXi;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface XinXiDao {
    List<XinXi> findPage1(@Param(value = "offset") Integer offset, @Param(value = "limit") Integer limit, @Param(value = "carcode") String carcode,@Param(value = "carstate")Integer carstate);

    int findPage2();

    List<XinXi> Zuche1(@Param(value = "offset") Integer offset, @Param(value = "limit") Integer limit);
    int Zuche2();

    void save(XinXi xinXi);

    List<XinXi> findAll();

    void delete(long carid);

    XinXi find(long carid);

    void update(XinXi xinXi);

    XinXi findid(String carcode);
}
